package com.mask.im.business.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mask.im.business.model.entity.MailDraft;
import com.mask.im.business.common.model.RestResponse;



/**
 * @author jian
 */
public interface MailDraftService extends IService<MailDraft> {

	RestResponse<Page<MailDraft>> getMailDraft(String mail,Integer status);

	RestResponse<String> deleteMailDraft(Integer id);

	RestResponse<String> saveMailDraft(MailDraft mailDraft);

	RestResponse<String> recoverMailDraft(Integer id);

	RestResponse<MailDraft> getMailDraftById(Integer id);

	RestResponse<String> permanentlyDelete(Integer id);
}

